package com.nowcoder.community.exception;

import org.springframework.security.core.AuthenticationException;

/**
 * @author szq
 * @create 2023-02-19 16:12
 * @description 自定义验证码认证异常类
 */
public class KaptchaNotMatchException extends AuthenticationException {
    public KaptchaNotMatchException(String detail) {
        super(detail);
    }

    public KaptchaNotMatchException(String detail, Throwable ex) {
        super(detail, ex);
    }
}
